package elastic

func GetEsMapping() string {
	return `{
		"mappings":{
			"group_data":{
				"properties":{
					"groupid":{"type":"text"},
					"qq":{"type":"text"},
					"nickname":{"type":"text","analyzer":"ik_max_word"},
					"msg":{"type":"text","analyzer":"ik_max_word"},
					"created_at":{"type":"date","format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"},
					"userinfo":{"type":"text"}
				}
			}
		}
	}`
}
